package com.elecbook.system.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Z-ken
 * @since 2024/11/11 16:54:42
 */
@Getter
@Setter
@TableName("properties")
@ApiModel(value = "Properties对象", description = "")
public class Properties implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("配置名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("此配置对应的内容")
    @TableField("value")
    private String value;
}
